package com.xiaoyu.lanling.feature.moment.datamodel.publish

import com.xiaoyu.lanling.feature.moment.viewholder.publish.MomentPublishViewHolderManager
import com.xiaoyu.lanling.media.image.ImageLoadParam

class MediaImageItem(position: Int, path: String) : MediaCommonItem(position, path) {

    val imageLoadParam: ImageLoadParam = ImageLoadParam.newBuilder().setUrl(path).setSizeInDP(80).setCornersRadiusInDP(8F).build()

    override fun getViewType(): Int {
        return MomentPublishViewHolderManager.ITEM_VIEW_TYPE_PUBLISH_MEDIA_IMAGE
    }
}
